package com.itextpdf.local.ess.Signature;

public class PreSignatureBody {

    private String fieldName;
    private byte[] hashBytes;
    private byte[] toSignBytes;
    private byte[] signatureBytes;
    private byte[] pdfBytes;

    public PreSignatureBody(String fieldName, byte[] hashBytes, byte[] toSignBytes, byte[] pdfBytes) {
        this.fieldName = fieldName;
        this.hashBytes = hashBytes;
        this.toSignBytes = toSignBytes;
        this.pdfBytes = pdfBytes;
    }

    public PreSignatureBody(String fieldName, byte[] hashBytes, byte[] signatureBytes) {
        this.fieldName = fieldName;
        this.hashBytes = hashBytes;
        this.signatureBytes = signatureBytes;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public byte[] getHashBytes() {
        return hashBytes;
    }

    public void setHashBytes(byte[] hashBytes) {
        this.hashBytes = hashBytes;
    }

    public byte[] getToSignBytes() {
        return toSignBytes;
    }

    public void setToSignBytes(byte[] toSignBytes) {
        this.toSignBytes = toSignBytes;
    }

    public byte[] getSignatureBytes() {
        return signatureBytes;
    }

    public void setSignatureBytes(byte[] signatureBytes) {
        this.signatureBytes = signatureBytes;
    }

    public byte[] getPdfBytes() {
        return pdfBytes;
    }

    public void setPdfBytes(byte[] pdfBytes) {
        this.pdfBytes = pdfBytes;
    }
}
